interface ITransaction {
	data : ITransactionData|null;
	titleList : ITitleList;
	labelList : ILabelList;
}

interface ITransactionData {
	myself : ITransactionDataItemDetail;
	team : ITransactionDataItemDetail;
	merchant : ITransactionDataItemDetail;
	year_trade:{
		[propname:string]:IDateItem
	};
}

interface ITransactionDataItemDetail {
	total_trade : number;
	activate_num : number;
	trade_earnings : number;
	activate_earnings : number;
}

interface IDateItem {
	amount : number;
	count : number;
	date : string;
}


type ITitleList = {
	[Prop in keyof ITransactionData]: string;
}

type ILabelList = {
	[Prop in keyof ITransactionDataItemDetail]: string;
}


export {
	ITransaction,
	ITransactionData,
	ITransactionDataItemDetail,
	IDateItem
}